
#import "TouchHandler.h"

// this is a subclass of window to capture all touches...
// based on http://blog.carbonfive.com/2009/07/iphone/iphone-gesture-recognition
// from jonah 


@interface GestureWindow : UIWindow {
	
	UIView *previousTouchView;
	CGPoint previousTouchLocation;
	NSNotificationCenter *notificationCenter;
	
	TouchHandler * touchHandler;
	
}

@property(nonatomic, retain) UIView *previousTouchView;
@property(nonatomic, assign) CGPoint previousTouchLocation;
@property(nonatomic, retain) NSNotificationCenter *notificationCenter;


static TouchHandler * mainTouchHandler;
+(TouchHandler*)getHandler;


@end
